package Io;

import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;

public class FlashDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("abs.txt");
        BufferedOutputStream bos=new BufferedOutputStream(fos);
        String line="鸡鸡鸡";
        bos.write(line.getBytes(StandardCharsets.UTF_8));
        System.out.println("finish");
//bos.flush();
bos.close();

    }
}
